<div class="warpper">
	<div class="layout">
  	<%= render "/shared/top" %>
      <div class="layout">
      	<div class="col_sub">
        	<%= render "/shared/quick" %>
        	<%= render "/shared/piclink" %>
              <%= render "/shared/newto" %>
              <%= render "/shared/service" %>
              <%= render "/shared/advice" %>
        		</div>
            <div class="col_main">
            	<div class="cm_are">
                	<%= render "/shared/carousel" %>
						<script type="text/javascript">
                        jQuery(".focusimg #wowslider-container1").wowSlider({effect:"basic",prev:"",next:"",duration:20*100,delay:20*100,width:500,height:245,autoPlay:true,stopOnHover:false,loop:false,bullets:0,caption:true,captionEffect:"fade",controls:true,onBeforeStep:0,images:0});
                        </script>
                    <%= render "/shared/weibo" %>
                </div>
            	<div class="cm_are">
              	<%= render "/shared/tabnews" %>
                <%= render "/shared/events" %>
              </div>
            	<div class="cm_are">
								<%= render "/shared/gamedata" %>
                <%= render "/shared/vote" %>
                <%= render "/shared/links" %>
              </div>
              <div class="cm_are">
								<%= render "/shared/pictrues" %>
              </div>
              <div class="cm_are">
              	<%= render "/shared/gameguide" %>
								<%= render "/shared/faq" %>
              </div>
            </div>
            <div class="cl"></div>
        </div>
    </div>
    <%= render "/shared/bottom" %>
</div>
</div>
<%= render "/shared/float" %>
<script type="text/javascript">
/*debug*/
function hoverbox(e){
	if($(e).css('display') == "block"){
		$(e).css('display','none');
	}
	else{		
		$(e).css('display','block');
	}
}

$(".rfbox").scrollBox();
	function showtab(e,tab,fms,tabcls)
{
	$(fms).addClass("none");
	$(tab).removeClass(tabcls);
	$(e).addClass(tabcls);
	var tabs = $(tab);
	$.each(tabs,function(i,v){
		if($(v).hasClass(tabcls)==true)
		{
			$($(fms)[i]).removeClass("none");
			$($(fms)[i]).addClass("block");
			}
		else
		{
			$($(fms)[i]).removeClass("block");
			$($(fms)[i]).addClass("none");
		}
		});
	}
</script>
